package com.mdb.open.common.enums.trade.status;

import com.mdb.bc.api.enums.ApiEnum;

/**
 * @description:
 * @author: you.yichao
 * @create: 2019-07-01 20:16
 **/
public enum LoanRemitStatusEnum implements ApiEnum<String> {
    /**
     * 放款中的状态只会维护在log表中
     */
    WAIT_REMIT("待放款"),
    REMIT_PROCESSING("放款中"),
    SUCCESS("放款成功"),
    FAILED("放款失败"),
    TIME_OUT("放款超时"),
    MANUAL("人工"),
    INVALID("已有其他放款流水成功，失效"),


    ;


    private String text;

    LoanRemitStatusEnum(String text) {
        this.text = text;
    }

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String getText() {
        return this.text;
    }
}
